package com.ys.entity.hr;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="THR_OperateCompanyBankInfo", catalog="Id")
public class ThrOperateCompanyBankInfo extends BaseEntity<ThrOperateCompanyBankInfo> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Vid", nameJava="vid", typeDataBase="varchar")
	private String vid;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="Vyhzh", nameJava="vyhzh", typeDataBase="varchar")
	private String vyhzh;
	@YsField(nameDataBase="Vkhh", nameJava="vkhh", typeDataBase="varchar")
	private String vkhh;
	@YsField(nameDataBase="Vyhzhmc", nameJava="vyhzhmc", typeDataBase="varchar")
	private String vyhzhmc;
	@YsField(nameDataBase="Vbz", nameJava="vbz", typeDataBase="varchar")
	private String vbz;
	@YsField(nameDataBase="Attachment", nameJava="attachment", typeDataBase="varchar")
	private String attachment;
	@YsField(nameDataBase="AccountType", nameJava="accountType", typeDataBase="tinyint")
	private Integer accountType;
	@YsField(nameDataBase="Vlhh", nameJava="vlhh", typeDataBase="varchar")
	private String vlhh;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public ThrOperateCompanyBankInfo setId(Long id) {
		this.id = id;
		return this;
	}
	public String getVid() {
		return vid;
	}
	public ThrOperateCompanyBankInfo setVid(String vid) {
		this.vid = vid;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public ThrOperateCompanyBankInfo setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public String getVyhzh() {
		return vyhzh;
	}
	public ThrOperateCompanyBankInfo setVyhzh(String vyhzh) {
		this.vyhzh = vyhzh;
		return this;
	}
	public String getVkhh() {
		return vkhh;
	}
	public ThrOperateCompanyBankInfo setVkhh(String vkhh) {
		this.vkhh = vkhh;
		return this;
	}
	public String getVyhzhmc() {
		return vyhzhmc;
	}
	public ThrOperateCompanyBankInfo setVyhzhmc(String vyhzhmc) {
		this.vyhzhmc = vyhzhmc;
		return this;
	}
	public String getVbz() {
		return vbz;
	}
	public ThrOperateCompanyBankInfo setVbz(String vbz) {
		this.vbz = vbz;
		return this;
	}
	public String getAttachment() {
		return attachment;
	}
	public ThrOperateCompanyBankInfo setAttachment(String attachment) {
		this.attachment = attachment;
		return this;
	}
	public Integer getAccountType() {
		return accountType;
	}
	public ThrOperateCompanyBankInfo setAccountType(Integer accountType) {
		this.accountType = accountType;
		return this;
	}
	public String getVlhh() {
		return vlhh;
	}
	public ThrOperateCompanyBankInfo setVlhh(String vlhh) {
		this.vlhh = vlhh;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public ThrOperateCompanyBankInfo setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public ThrOperateCompanyBankInfo setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public ThrOperateCompanyBankInfo setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static ThrOperateCompanyBankInfo thrOperateCompanyBankInfo(
		String vid,
		String vgsbm,
		String vyhzh,
		String vkhh,
		String vyhzhmc,
		String vbz,
		String attachment,
		Integer accountType,
		String vlhh,
		Integer status
			) {
		ThrOperateCompanyBankInfo entity = new ThrOperateCompanyBankInfo();
		entity.setVid(vid);
		entity.setVgsbm(vgsbm);
		entity.setVyhzh(vyhzh);
		entity.setVkhh(vkhh);
		entity.setVyhzhmc(vyhzhmc);
		entity.setVbz(vbz);
		entity.setAttachment(attachment);
		entity.setAccountType(accountType);
		entity.setVlhh(vlhh);
		entity.setStatus(status);
		return entity;
	}
}